﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SMSSend.aspx.cs" Inherits="CRM.Web.MessagingManage.SMSSend" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" >
        $(document).ready(function() {
            $('#btnTelSearch').bind("click", function() {
                var url = 'TelSearch.aspx';
                var title = 'TelSearch';
                openPage(url, title, 900, 600);
            });
        });

        function SetTel(obj) {
            $('#txtTEL_TO').val(obj);
        }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">

	
    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" Text="短信发送" ></asp:Label></div>
    </div>
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
</table>
    <div id="divMain" >
    <div style="width: 100%" id="tBodyMain">
        <table border="0" cellpadding="0" cellspacing="0" class="table">
            <caption >
            </caption>
            <tr>
                <td class="title">
                    <span class="mark">*</span>手机号码:
                </td>
                <td class="content">
                    <asp:TextBox ID="txtTEL_TO" runat="server" CssClass="txt txt90" MaxLength="10000" Rows="3"
                        TextMode="SingleLine"></asp:TextBox><input id="btnTelSearch" type="button" class="btn_search" /><asp:RequiredFieldValidator ID="rfvTEL_TO" runat="server"
                            ErrorMessage="*" Display="Dynamic" ControlToValidate="txtTEL_TO" Enabled="True"></asp:RequiredFieldValidator>
                    <div style="color:red;">多个号码以分号分隔“;”</div>        
                </td>
            </tr>
            <tr>
                <td class="title">
                    客户姓名:
                </td>
                <td class="content">
                    <asp:TextBox ID="txtUNAME" runat="server" CssClass="txt" MaxLength="50" Rows="3"
                        TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvUNAME" runat="server"
                            ErrorMessage="*" Display="Dynamic" ControlToValidate="txtUNAME" Enabled="False"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="title">
                    标题:
                </td>
                <td class="content">
                    <asp:TextBox ID="txtSUBJECTS" runat="server" CssClass="txt txt90" MaxLength="50" Rows="3"
                        TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvSUBJECTS"
                            runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtSUBJECTS"
                            Enabled="False"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="title">
                    <span class="mark">*</span>内容:
                </td>
                <td class="content">
                    <asp:TextBox ID="txtBODYS" runat="server" CssClass="txt txt90" MaxLength="500" Rows="3"
                        TextMode="MultiLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvBODYS" runat="server"
                            ErrorMessage="*" Display="Dynamic" ControlToValidate="txtBODYS" Enabled="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </div>
    <div style="width: 100%" id="tBodyButton">
        <div class="btndiv">
            <span class="btnspan">
                <asp:Button ID="btnOK" runat="server" Text="确定" CommandName="Save" CssClass="btn title_qd"
                    OnClick="btnOK_Click" /></span> <span class="btnspan">
                        <input id="btnCancel" runat="server" type="button" value="返回" class="btn title_fh" /></span>
        </div>
    </div>
</div>
    </form>
</body>
</html>
